import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

/**
 * Generated class for the TimingPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-timing',
  templateUrl: 'timing.html',
})
export class TimingPage {

  is_device = true;
  device_list = ['吊灯','调光','窗帘','台灯','空调','电视','浴缸'];

  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ionViewDidLoad() {
  }

  timing_switch(v){
    this.is_device= v;
  }

}
